package com.ruoyi.market.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * 店铺订单配置对象 configOrder
 *
 * @author ruoyi
 */
public class ConfigGlobal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /* 店铺ID */
    private String shopId;

    // 新用户体验单 是否显示 Y-是 N-否
    private String experienceOrderShow;

    // 体验单标题名称
    private String experienceOrderName;

    // 体验单时长
    private int experienceOrderTime;

    // 体验单金额
    private BigDecimal experienceOrderAmount;

    // 置顶告白专区是否显示 Y-是 N-否 默认 N 开启后显示最近7天内打赏金额最高的3个打赏
    private String giftShowTopStatus;

    // 打赏时间显示 Y-是 N-否 默认 Y
    private String giftShowTimeStatus;

    // 礼物打赏低于不显示
    private BigDecimal giftShowMin;

    // 礼物打赏显示条数
    private int giftShowCount;

    // 店员PK 是否开启 Y-是 N-否 默认 N-否
    private String pkStatus;

    // PK时长 单位 小时
    private int pkTime;

    // 允许跨级PK Y-是 N-否 默认 N-否
    private String pkIsBeyond;

    // PK门槛要求店员总分分值
    private int pkScore;

    public ConfigGlobal() {

    }

    public ConfigGlobal(String shopId) {
        this.shopId = shopId;
    }

    @NotBlank(message = "店铺ID不能为空")
    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getExperienceOrderName() {
        return experienceOrderName;
    }

    public void setExperienceOrderName(String experienceOrderName) {
        this.experienceOrderName = experienceOrderName;
    }

    public BigDecimal getGiftShowMin() {
        return giftShowMin;
    }

    public void setGiftShowMin(BigDecimal giftShowMin) {
        this.giftShowMin = giftShowMin;
    }

    public String getExperienceOrderShow() {
        return experienceOrderShow;
    }

    public void setExperienceOrderShow(String experienceOrderShow) {
        this.experienceOrderShow = experienceOrderShow;
    }

    public int getExperienceOrderTime() {
        return experienceOrderTime;
    }

    public void setExperienceOrderTime(int experienceOrderTime) {
        this.experienceOrderTime = experienceOrderTime;
    }

    public BigDecimal getExperienceOrderAmount() {
        return experienceOrderAmount;
    }

    public void setExperienceOrderAmount(BigDecimal experienceOrderAmount) {
        this.experienceOrderAmount = experienceOrderAmount;
    }

    public String getGiftShowTopStatus() {
        return giftShowTopStatus;
    }

    public void setGiftShowTopStatus(String giftShowTopStatus) {
        this.giftShowTopStatus = giftShowTopStatus;
    }

    public String getGiftShowTimeStatus() {
        return giftShowTimeStatus;
    }

    public void setGiftShowTimeStatus(String giftShowTimeStatus) {
        this.giftShowTimeStatus = giftShowTimeStatus;
    }

    public int getGiftShowCount() {
        return giftShowCount;
    }

    public void setGiftShowCount(int giftShowCount) {
        this.giftShowCount = giftShowCount;
    }

    public String getPkStatus() {
        return pkStatus;
    }

    public void setPkStatus(String pkStatus) {
        this.pkStatus = pkStatus;
    }

    public int getPkTime() {
        return pkTime;
    }

    public void setPkTime(int pkTime) {
        this.pkTime = pkTime;
    }

    public String getPkIsBeyond() {
        return pkIsBeyond;
    }

    public void setPkIsBeyond(String pkIsBeyond) {
        this.pkIsBeyond = pkIsBeyond;
    }

    public int getPkScore() {
        return pkScore;
    }

    public void setPkScore(int pkScore) {
        this.pkScore = pkScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("shopId", getShopId())
                .append("experienceOrderName", getExperienceOrderName())
                .append("experienceOrderShow", getExperienceOrderShow())
                .append("experienceOrderTime", getExperienceOrderTime())
                .append("experienceOrderAmount", getExperienceOrderAmount())
                .append("giftShowTopStatus", getGiftShowTopStatus())
                .append("giftShowTimeStatus", getGiftShowTimeStatus())
                .append("giftShowMin", getGiftShowMin())
                .append("giftShowCount", getGiftShowCount())
                .append("pkStatus", getPkStatus())
                .append("pkTime", getPkTime())
                .append("pkScore", getPkScore())
                .append("pkTime", getPkTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
